<template>
  <div>
    1-{{config.wxredirect_uri}}
  </div>
  <br />
  <div>
    2-{{proConfig.config.wxredirect_uri}}
  </div>
</template>

<script setup>
  import { defineAsyncComponent, ref, reactive, onMounted, computed } from 'vue';
  import { storeToRefs } from 'pinia';
  import {Session} from "/@/utils/storage";
  import { useProConfig } from '/@/stores/proConfig';

  const proConfig= useProConfig();
  const { config } = storeToRefs(proConfig);

  const userLoginByCode = ()=>{
    console.log(config.value.wxredirect_uri)
    console.log(proConfig.config.wxredirect_uri)
  }

  onMounted(()=>{
    userLoginByCode();
  })
</script>

<style scoped>

</style>
